//
//  RecordTool.h
//  RecordDemo
//
//  Created by xuxi on 2024/7/20.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface RecordTool : NSObject
// 开始录音
- (void)startRecordingWithRealTimeBlock:(void(^)(NSData *recordData))realTimeBlock;
// 停止录音
-(void)stopRecording;

@end

NS_ASSUME_NONNULL_END
